﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.ComponentModel;

namespace SampleSite.Models
{
	public class UserInfo : MembershipUser
	{
		private UserState m_State;

		public UserState State
		{
			get { return m_State; }
			set { m_State = value; }
		}

		private string m_Password;

		public string Password
		{
			get { return m_Password; }
			set { m_Password = value; }
		}

		private string m_UserName;

		public string UserName
		{
			get { return m_UserName; }
			set { m_UserName = value; }
		}

		private string m_Email;

		public string Email
		{
			get { return m_Email; }
			set { m_Email = value; }
		}

		private DateTime m_CreateTime;

		public DateTime CreateTime
		{
			get { return m_CreateTime; }
			set { m_CreateTime = value; }
		}

		private string m_RegistIP;

		public string RegistIP
		{
			get { return m_RegistIP; }
			set { m_RegistIP = value; }
		}
	}

	public enum UserState
	{
		[Description("正常")]
		Normal = 1,
		[Description("已删除")]
		Deleted = -1,
		[Description("已暂停")]
		Suspend = 0,
	}
}
